﻿using gbL.NetBoard.Examples.DoubleMVC.View.UI;
using gbL.NetBoard.Examples.DoubleMVC.Model;
using gbL.NetBoard.Examples.DoubleMVC.View.Data;

namespace gbL.NetBoard.Examples.DoubleMVC
{
    public class ObjectFactory
    {
        public Blackboard BuildDomain()
        {
            Blackboard ret = new Blackboard();
            new MenuView(ret);
            new Products(ret);
            new ProductsTableView(ret);
            new ListView(ret);
            new MessageView(ret);
            new DetailView(ret);
            return ret;
        }
    }
}
